package com.cx.homework4;

import java.util.Scanner;

/**
 * @author admin
 * @date 2025/9/26
 */
public class MyClassTest {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入用户名");

        String name = scanner.nextLine();
        System.out.println("用户名："+name);
        //请输入用户名
        //123
        //用户名：123
    }
}
